//
//  main.m
//  SDL2Demo
//
//  Created by aron on 2018/1/3.
//  Copyright © 2018年 aron. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "sdl-player.h"
#import "player.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        // insert code here...
        NSLog(@"Hello, World!");
        
        char* filePath = "/Users/aron/Downloads/simplest_ffmpeg_player_converted/simplest_video_play_sdl2/test_yuv420p_320x180.yuv";
//        sld2_player_main(filePath);
        
        player_init();
        filePath = "/Users/aron/git-repo/FFMPEG-Serial-Demo/FFMPEG-Serial-Demo/FFMPEG-Serial-Demo/resources/WavinFlag.aac";
        player_setdebugmode();
        player_play(filePath);
    }
    return 0;
}
